package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Class;
import cn.wolfcode.crm.query.ClassQueryObject;

import java.util.List;

public interface ClassMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Class entity);

    Class selectByPrimaryKey(Long id);

    List<Class> selectAll();

    int updateByPrimaryKey(Class entity);

    Integer query4Count(ClassQueryObject qo);

    List<Class> query4List(ClassQueryObject qo);

    void changState(Long id);
}